package com.allinpay.merchantweb.service;

import java.util.Map;

import com.allinpay.merchantweb.common.exception.ViewException;
import com.allinpay.merchantweb.request.RequestMessage;
import com.allinpay.merchantweb.response.ResponseMessage;

/**
 * 用户注册
 * @date 2018-03-13
 */
public interface RegistService {

	/**
	 * 用户注册
	 * @param reqMap
	 * @return
	 * @throws Exception
	 */
	public ResponseMessage regist(RequestMessage reqMsg)throws ViewException ;
	
	/**
	 * 发送短信
	 * @param reqMsg
	 * @return
	 * @throws ViewException
	 */
	public ResponseMessage sendMessage(RequestMessage reqMsg) throws ViewException ;
	
	/**
	 * 查询用户名是否存在
	 * @param reqMsg
	 * @return
	 * @throws ViewException
	 */
	public ResponseMessage queryExistUserByLoginName(RequestMessage reqMsg)throws ViewException ;
}
